package com.tanhua.manage.service;

import com.tanhua.manage.mapper.UsersMapper;
import com.tanhua.common.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UsersService {

    @Autowired
    private UsersMapper usersMapper;

    public User QueryUserMobileByUserID(Long userId){
        /**
         * 通过id查询user用户
         */
        User user = usersMapper.selectById(userId);
        return user;
    }
}
